#ifndef UPDATERESTHREAD_H
#define UPDATERESTHREAD_H

#include <QThread>
#include "resmodel.h"

class UpdateResThread : public QThread
{
    Q_OBJECT
public:
    UpdateResThread(QObject *parent = 0);
    ~UpdateResThread();
signals:
    void updateRes(const ResModel &res);
public slots:
    void startRes();
    void stopRes();

protected:
    void run();

private:

    bool iscontinue;
    int i;
};

#endif // UPDATERESTHREAD_H
